package org.zero.mapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;
import org.zero.model.UserDO;


/**
 * 持久层的类创建bean并存入容器，使用同 Component 注解
 *
 * @author Zero
 */
@Repository
public class UserMapper {

    @Autowired
    private UserDO user;

    @Override
    public String toString() {
        return "UserMapper{" +
                "user=" + user +
                '}';
    }
}
